from django.contrib import admin

from .models import Task


# Register your models here.
@admin.register(Task)
class TaskAdmin(admin.ModelAdmin):
    list_display = ('id', 'title', 'created_time','doing_time', 'status', 'deadline', 'loop')
    list_filter = ('status', 'loop')
    search_fields = ('id', 'title')
